package com.five.monkey.feign.es.service;

import com.five.monkey.vo.GraphVo;
import com.five.monkey.vo.PageVo;
import org.springframework.data.domain.Sort;

import java.util.List;

/**
 * @author 狻猊
 * @date 2021-11-25 14:39:34
 */
public interface GraphElasticsearchService {

    GraphVo save(GraphVo graphVo);

    GraphVo findById(Long id);

    List<GraphVo> findAll();

    boolean deleteById(Long id);

    List<GraphVo> findByStatus(Integer status);

    PageVo<GraphVo> pageByStatus(Integer status, int page, int size, Sort sort);
}
